package net.csdn.business.common.oauth2.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.domain.SuperEntity;


/**
 * oauth权限对象 oauth_auth_permission
 * 
 * @author zhangyl
 * @date 2022-11-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("oauth_auth_permission")
public class OauthAuthPermission extends SuperEntity<OauthAuthPermission>
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 请求url */
    private String reqUrl;

    /** 请求方法 */
    private String reqMethod;

    /** 所需权限角色标识符 */
    private String authRole;

}
